package com.element.sentinel.annotation;

import com.element.sentinel.exception.SentinelExceptionHandler;
import com.element.sentinel.exception.SentinelWebExceptionHandler;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Inherited
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({SentinelExceptionHandler.class, SentinelWebExceptionHandler.class})
public @interface EnableGlobalWebSentinel {

}